package main

import (
	"demo_grpc/request"
	"log"

	// 导入grpc包
	"google.golang.org/grpc"
)

func main() {
	// 连接grpc服务器
	conn, err := grpc.Dial("localhost:50051", grpc.WithInsecure())
	if err != nil {
		log.Fatalf("未连接: %v", err)
	}
	// 延迟关闭连接
	defer conn.Close()
	request.Conversations(conn)
}
